package com.ruoyi.server.api.test.controller;

import com.ruoyi.common.core.domain.CommonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName TestController
 * @Description TODO
 * @Author 17179
 * @Date 2024/6/6 9:14
 **/
@RestController
@RequestMapping("/demo")
public class DemoController {

    @GetMapping("/demo")
    public CommonResult demo(){
        return CommonResult.ok("访问成功");
    }
}
